<form action="" method="post" class="post-tr" onsubmit="return CheckForm(this);" style="margin:25px auto; width:560px">
  <fieldset><legend>绑定电子邮件</legend>
<?php if(\YF_f::$arr['login_user']['email']){?>
  <span class="sh">原邮件认证码：</span>
  <span class="sp"><input type="text" name="ver" value="<?php e_h($d['v'])?>" size="8" check="^.{1,}$" /> <a href="javascript:" id="re_send_au">发送验证码</a><i class="err-note"></i></span>
  <div class="separator"></div>
<?php }?>
  <span class="sh">新邮件账号：</span>
  <span class="sp"><input type="text" name="email" check="^.{1,}$" /></span>
  

  <span class="sh"></span>
  <span class="sp"><input type="submit" value="提交" class="submit" /></span>
  </fieldset>
</form>
<script>
$('#re_send_au').click(function(){
	var b = $(this).next('.err-note');
    setLoading(b[0]);
	$.get('?u=cuser\\my-femailsv', function(r){ b.text(r=='0' ? '已发送到你绑定的邮箱' : r); });
});
</script>

